﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="searchhelpMOF.aspx.cs" Inherits="MixScriptWeb.Share.searchhelpMOF" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Search</title>
    <link href="../Styles/css/style_all.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../Styles/css/style4.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../Styles/css/jquery-ui.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../Styles/css/jquery.wysiwyg.css" type="text/css" media="screen" />
    <!--Internet Explorer Trancparency fix-->
    <!--[if IE 6]>
        <script src="../Account/js/ie6pngfix.js"></script>
        <script>
          DD_belatedPNG.fix('#head, a, a span, img, .message p, .click_to_close, .ie6fix');
        </script>
        <![endif]-->
    <script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-ui.js" type="text/javascript"></script>
    <script src="../../Scripts/custom.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.wysiwyg.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 62px;
        }
        .style2
        {
            width: 447px;
        }
    </style>
</head>
<body class="searchhelp">
<div class="bg_wrapper" style="padding:5px;min-height:800px;">
    <form id="form1"  runat="server">
    <div>
        <table style="width: 100%; border-left:1px;" class="table-ui" >
            <tr>
                <td class="style1">
                Search
                </td>
                <td class="style2">
                    <asp:TextBox ID=txtSearch runat="server" CssClass="input-set" Width="436px"></asp:TextBox>
                </td>
                <td>
                </td>
                <td>
                    <asp:Button ID=btnSearch runat="server" Text="Search" CssClass="button" 
                        onclick="btnSearch_Click"/>
                </td>
            </tr>
        </table>
        <asp:GridView ID=gvSearchHelp runat="server" BackColor="White" BorderColor="#999999"
            BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" OnRowCommand="GridView1_RowCommand"
            Width="100%" AllowPaging="True" CssClass="gridview" PageSize="20" 
            onpageindexchanging="gvSearchHelp_PageIndexChanging" 
            onsorting="gvSearchHelp_Sorting" AutoGenerateColumns="False">
              <AlternatingRowStyle CssClass="alt" />
    
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="iorfno" HeaderText="I/O Number" />
                <asp:BoundField DataField="itno" HeaderText="Part No" />
                <asp:BoundField DataField="itnm" HeaderText="Part Name" />
                <asp:BoundField DataField="unmsns" HeaderText="Unit" />
                <asp:BoundField DataField="ioqt" HeaderText="Qty" />                
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
        <asp:HiddenField ID="hdForm" runat="server" />
        <asp:HiddenField ID="hdpartno" runat="server" />
        <asp:HiddenField ID="hdPartname" runat="server" />
        <asp:HiddenField ID="hdunit" runat="server" />
        <asp:HiddenField ID="hdqty" runat="server" />
        <asp:HiddenField ID="hdIorfno" runat="server" />
        <br />
        <asp:Label ID="lblmsg" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
    </div>
    </form>
    </div>
</body>
</html>
